Get

Function

This API is used to get parameter for Record > Record Configuration page.

Request Message

None.

Sample:

POST /API/RecordConfig/Get HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

See Record > Record Configuration > Parameter Description > Table 2 for parameter description.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
	"result": "success",
	"data": {
		"channel_info": {
			"CH1": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"anr": false,
				"copy_ch": "all"
			},
			"CH2": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH3": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH4": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH5": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH6": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH7": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH8": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH9": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH10": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH11": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH12": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH13": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH14": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH15": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			},
			"CH16": {
				"record_switch": true,
				"stream_mode": "DualStream",
				"prerecord": true,
				"copy_ch": "all"
			}
		}
	}
}

Error Code

See Response Messages Body and Common error_code for more information.